package com.chief.state;

import java.io.Serializable;
import java.util.Date;

public class Data implements Serializable {

    private String name;

    private Date date;

    private Double score;

    public Data() {
    }

    public Data(String name, Date date, Double score) {
        this.name = name;
        this.date = date;
        this.score = score;
    }

    @Override
    public String toString() {
        return "Data{" +
                "name='" + name + '\'' +
                ", date=" + date +
                ", score=" + score +
                '}';
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }
}
